package xin.marcher.module.diplomacy.converter;


import org.mapstruct.Mapper;
import xin.marcher.module.diplomacy.domain.bo.FrontCategoryBO;
import xin.marcher.module.diplomacy.domain.bo.FrontCategoryRelationBO;
import xin.marcher.module.diplomacy.domain.bo.SkuInfoBO;
import xin.marcher.module.diplomacy.domain.dto.FrontCategoryDTO;
import xin.marcher.module.diplomacy.domain.entity.FrontCategoryDO;
import xin.marcher.module.diplomacy.domain.entity.FrontCategoryRelationDO;

import java.util.Collection;
import java.util.List;

/**
 * 前台类目相关对象克隆
 *
 *
 */
@Mapper(componentModel = "spring")
public interface FrontCategoryConverter {

    /**
     * 集合对象克隆
     *
     * @param frontCategoryBOList
     * @return
     */
    List<FrontCategoryDTO> converterFrontCategoryList(List<FrontCategoryBO> frontCategoryBOList);

    /**
     * 集合对象克隆
     *
     * @param frontCategoryBOList
     * @return
     */
    List<FrontCategoryBO> converterFrontCategoryList(Collection<FrontCategoryDO> frontCategoryBOList);

    /**
     * 集合对象克隆
     *
     * @param doList
     * @return
     */
    List<FrontCategoryRelationBO> convertCategoryRelation(Collection<FrontCategoryRelationDO> doList);

    /**
     * 集合对象克隆
     *
     * @param skuInfoBOS
     * @return
     */
    List<Object> converterObjectList(List<SkuInfoBO> skuInfoBOS);
}
